package com.zkthink.ceres.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel("前端售后 退款或退货对象")
@Data
public class ReturnVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("退款单 或 退货单的主键id")
    private Long id;

    @ApiModelProperty("店铺id")
    private Long storeId;

    @ApiModelProperty("子订单id")
    private Long orderId;

    @ApiModelProperty("订单商品id列表，逗号分隔")
    private String orderProductIds;

    @ApiModelProperty("店铺名称")
    private String storeName;

    @ApiModelProperty("退货地址")
    private String refundAddress;

    @ApiModelProperty("退货联系人电话")
    private String refundTel;

    @ApiModelProperty("退货联系人")
    private String refundContact;

    @ApiModelProperty("售后类型 1-退款 2-退货")
    private Integer returnType;

    @ApiModelProperty("售后单编号")
    private String returnCode;

    @ApiModelProperty("申请退款金额")
    private Long applySum;

    @ApiModelProperty("申请时间")
    private LocalDateTime createTime;

    @ApiModelProperty("真实退款金额")
    private Long realReturnSum;

    @ApiModelProperty("售后单状态 详细参考 退款单和退货单各自的状态")
    private Integer status;

    @ApiModelProperty("商品列表")
    private List<OrderProductVO> orderProductVOList;
}
